<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true" >
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="eduSignIndustryList" checkbox="false" pagination="true" fitColumns="true" title="语言培训行业签到" actionUrl="eduSignIndustryController.do?datagrid" idField="id" fit="true" queryMode="group">
    <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
    <t:dgCol title="创建人名称"  field="createName"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
    <t:dgCol title="创建人登录名称"  field="createBy"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
    <t:dgCol title="创建日期"  field="createDate" formatter="yyyy-MM-dd" hidden="true"  queryMode="single"  width="120"></t:dgCol>
    <t:dgCol title="更新人名称"  field="updateName"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
    <t:dgCol title="更新人登录名称"  field="updateBy"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
    <t:dgCol title="更新日期"  field="updateDate" formatter="yyyy-MM-dd" hidden="true"  queryMode="single"  width="120"></t:dgCol>
    <t:dgCol title="姓名"  field="name"   query="true" queryMode="single"  width="120"></t:dgCol>
    <t:dgCol title="年龄"  field="age"    queryMode="single" dictionary="age" width="120"></t:dgCol>
    <t:dgCol title="性别"  field="sex"    queryMode="single" dictionary="sex" width="120"></t:dgCol>
    <t:dgCol title="手机"  field="phone"   query="true" queryMode="single"  width="120"></t:dgCol>
   <%--  <t:dgCol title="学校或小区"  field="area"   query="true" queryMode="single"  width="120"></t:dgCol> --%>
    <t:dgCol title="年级"  field="grade"    queryMode="single" dictionary="grade" width="120"></t:dgCol>
    <t:dgCol title="意向就业"  field="intentionalBusiness"    queryMode="single" dictionary="edu_sign_intentional_business,code,name"  width="200"></t:dgCol>
<%--     <t:dgCol title="客户信息备注"  field="remarks"    queryMode="single"  width="500"></t:dgCol>
    <t:dgCol title="线上"  field="onLine"    queryMode="single" dictionary="edu_on_line,code,name"  width="120"></t:dgCol>
    <t:dgCol title="线下"  field="offLine"    queryMode="single" dictionary="edu_off_line,code,name"  width="120"></t:dgCol>
    <t:dgCol title="直电"  field="directPower"    queryMode="single" dictionary="edu_direct_pow,code,name"  width="120"></t:dgCol>
    <t:dgCol title="直访"  field="directAccess"    queryMode="single" dictionary="edu_direct_acc,code,name"  width="120"></t:dgCol> --%>
    <t:dgCol title="销售顾问"  field="saleId"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
    <t:dgCol title="销售顾问"  field="saleName"   queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
    <%--  <t:dgDelOpt title="删除" url="eduSignIndustryController.do?doDel&id={id}" urlclass="ace_button"  urlfont="fa-trash-o"/> --%>
   <t:dgFunOpt funname="operationSale(id,saleId)" title="顾问详情"  operationCode="operationSale"   urlclass="ace_button"  urlfont="fa-user"></t:dgFunOpt>
   <%-- <t:dgDelOpt title="删除" url="eduSignIndustryController.do?doDel&id={id}" urlclass="ace_button"  urlfont="fa-trash-o"/> --%>
   <t:dgToolBar title="录入" icon="icon-add" url="eduSignIndustryController.do?goAdd" funname="add"></t:dgToolBar>
   <t:dgToolBar title="编辑" icon="icon-edit" url="eduSignIndustryController.do?goUpdate" funname="update"></t:dgToolBar>
   <t:dgToolBar title="删除"  icon="icon-remove" url="eduSignIndustryController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
   <t:dgToolBar title="查看" icon="icon-search" url="eduSignIndustryController.do?goUpdate" funname="detail"></t:dgToolBar>
<%--     <t:dgToolBar title="查看" icon="icon-search" url="eduSignIndustryController.do?goUpdate" funname="detail"></t:dgToolBar> --%>
 <%--   <t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar> --%>
   <t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar>
<%--    <t:dgToolBar title="模板下载" icon="icon-putout" funname="ExportXlsByT"></t:dgToolBar> --%>
  </t:datagrid>
  <t:authFilter></t:authFilter>
  </div>
 </div>
 <script src = "webpage/com/jeecg/edu/eduSignIndustryList.js"></script>		
  <script src = "webpage/com/jeecg/edu/common.js"></script>	
 <script type="text/javascript">
 $(document).ready(function(){
 });
 
   
 
//导入
function ImportXls() {
	openuploadwin('Excel导入', 'eduSignIndustryController.do?upload', "eduSignIndustryList");
}

//导出
function ExportXls() {
	JeecgExcelExport("eduSignIndustryController.do?exportXls","eduSignIndustryList");
}

//模板下载
function ExportXlsByT() {
	JeecgExcelExport("eduSignIndustryController.do?exportXlsByT","eduSignIndustryList");
}

//查看销售顾问详情
function operationSale(id,saleId){	
	createwindow_form('销售顾问详情', 'eduReturnInfoController.do?list&industryId='+id,'','');		
}


 </script>